export const AGREEMENT_TYPE_MAP = {
    PROJECT_CONTRACT: 2,
    STRATEGIC_AGREEMENT: 1,
} as const

export const AGREEMENT_STATE_MAP = {
    EXPIRED: 6,
    REJECTED: 3,
    STOPPED: 7,
    TO_APPROVE: 2,
    TO_SUBMIT: 1,
    UNVALIDATED: 5,
    VALIDATED: 4,
} as const

export const AGREEMENT_TYPE = [
    {
        label: '战略协议',
        value: AGREEMENT_TYPE_MAP.STRATEGIC_AGREEMENT,
    },
    {
        label: '项目合同',
        value: AGREEMENT_TYPE_MAP.PROJECT_CONTRACT,
    },
]

export const AGREEMENT_STATE = [
    {
        label: '待提交',
        value: AGREEMENT_STATE_MAP.TO_SUBMIT,
    },
    {
        label: '待审核',
        value: AGREEMENT_STATE_MAP.TO_APPROVE,
    },
    {
        label: '已驳回',
        value: AGREEMENT_STATE_MAP.REJECTED,
    },
    {
        label: '已生效',
        value: AGREEMENT_STATE_MAP.VALIDATED,
    },
    {
        label: '未生效',
        value: AGREEMENT_STATE_MAP.UNVALIDATED,
    },
    {
        label: '已过期',
        value: AGREEMENT_STATE_MAP.EXPIRED,
    },
    {
        label: '已停用',
        value: AGREEMENT_STATE_MAP.STOPPED,
    },
]
